package cn.wizzer.app.user.modules.services;

import cn.wizzer.app.user.modules.models.GroupMember;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

import java.util.List;

public interface GroupMemberService extends BaseService<GroupMember> {

    void addMember(String userId, String groupId);

    void delMember(String userId, String delUserId, String groupId);

    List<GroupMember> list(String userId, String groupId);

    Pagination listPage(int pageNumber, int pageSize, String groupName, String userKeyword, String[] searchDate);

    void batchAdd(String[] userIds, String groupId);

}
